import Vue from 'vue'
import Vuex from 'vuex'
import { StoreState } from '@/store'
// 获取 store 数据
const getters = {
  isCollapse: (state: StoreState) => state.menuInfo.isCollapse,
  routerList: (state: StoreState) => state.menuInfo.routerList,
}

export default getters
